﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Rison.DataAccess.Common;

namespace Rison.BusinessFacade.Common
{
    public interface IFacade
    {
        long Save(object value);
        object Retrieve(long identityValue);
        int Update(object value);
        int Delete(long identityValue);

        DataSet GetAllData();
        DataSet GetDataBy(List<Condition> conditions);
        DataSet GetDataBy(string strCondtion);
    }
}
